package com.wxc.wxcwzq.web.entity;

import java.util.Date;
import java.util.List;

public class SysUser {
    private Long id;

    private String loginName;

    private String userName;

    private String password;

    private String salt;
    
    private String phone;//手机号，可用于登录

    private String avatar;
    
    private Integer status;//状态
    
    private Date pwd_validity;//密码有效期

    private String profile;

    private Date lastLoginAt;

    private String fileMarkHash;

    private Date createdAt;
    
    //角色列表
    private List<SysRoles> roleList;
    

    public List<SysRoles> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<SysRoles> roleList) {
		this.roleList = roleList;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile == null ? null : profile.trim();
    }

    public Date getLastLoginAt() {
        return lastLoginAt;
    }

    public void setLastLoginAt(Date lastLoginAt) {
        this.lastLoginAt = lastLoginAt;
    }

    public String getFileMarkHash() {
        return fileMarkHash;
    }

    public void setFileMarkHash(String fileMarkHash) {
        this.fileMarkHash = fileMarkHash == null ? null : fileMarkHash.trim();
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getPwd_validity() {
		return pwd_validity;
	}

	public void setPwd_validity(Date pwd_validity) {
		this.pwd_validity = pwd_validity;
	}
    
}